﻿using DAO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BUS
{
   public  class CameraBUS
   {
       CameraDAO cDAO = new CameraDAO();
       public List<Camera> GetListAll()
       {
           return cDAO.GetListAll();
       }
       public List<Camera> GetListTop10()
       {
           return cDAO.GetListTop10();
       }
       public Camera GetById(int id)
       {
           return cDAO.GetById(id);
       }
       public List<Camera> GetListSearch(string tukhoa)
       {
           return cDAO.GetListSearch(tukhoa);
       }
    }
}
